package com.example.demo.service.Impl;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix = "user")
public class UserConfigDataValuesImpl {
    //@Value("${user.user}")
    public String user;

    //@Value("${user.code}")
    public String code;

    //@Value("${user.hobbies}")
    public List<String> hobbies;

}